package com.moss.system.mapper;


import com.moss.common.domain.LoginUser;
import com.moss.common.entity.SysUserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {


    SysUserEntity selectUserByName(@Param("username") String username);

    List<String> getUserPermsList(@Param("userId") String userId);

    SysUserEntity getUserInfo(String userId);

    List<SysUserEntity> selectList(SysUserEntity user);

    void updateUser(SysUserEntity user);

    SysUserEntity selectUserById(String userId);

    void insert(SysUserEntity user);

    void updateById(SysUserEntity user);

    void deleteById(@Param("arr") String[] userId);
}
